"""
ECB没有偏移量
"""
from Crypto.Cipher import AES
from binascii import b2a_hex, a2b_hex
from tkinter import messagebox

from support import *

def locking(MyWord,TheKey):
    e = encrypt(MyWord,TheKey)  # 加密
    print("加密后为:", e)
    messagebox.showinfo('完成',e)
    
    return e